package com.ug_project.spring_dict.DataAccess.Migrations

object WordsInFavorite : BaseIdTable("WordsInFavorite") {
    val favoriteId = integer("FavoriteId") references Favorites.id
    val keyId = integer("KeyWordId")

    init {
        uniqueIndex(favoriteId, keyId)
    }
}